package com.snowRemovingUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * comment风险等级规则对象 t_comment_risk_level_rule
 * 
 * @author lg
 * @date 2024-04-10
 */
public class TCommentRiskLevelRule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 规则ID */
    private String riskLevelRuleId;

    /** 规则名称 */
    @Excel(name = "规则名称")
    private String riskLevelRuleName;

    /** 风险类型 */
    private String riskType;

    /** 风险等级 */
    private String riskLevel;

    /** 风险名称 */
    @Excel(name = "风险名称")
    private String riskName;

    /** 规则番号 */
    private Long ruleNo;

    /** 规则关系(0：或 1：与（并且）) */
    @Excel(name = "规则关系(0：或 1：与", readConverterExp = "并=且")
    private String ruleRelation;

    /** 规则说明 */
    @Excel(name = "规则说明")
    private String ruleDescription;

    /** 气象要素 */
    @Excel(name = "气象要素")
    private String weatherType;

    /** 时间段 */
    @Excel(name = "时间段")
    private Long eventTime;

    /** 最小值 */
    @Excel(name = "最小值")
    private String minValue;

    /** 是否包含最小值 */
    @Excel(name = "是否包含最小值")
    private String containsMinValue;

    /** 最大值 */
    @Excel(name = "最大值")
    private String maxValue;

    /** 是否包含最大值 */
    @Excel(name = "是否包含最大值")
    private String containsMaxValue;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private String delFlg;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 更新者 */
    @Excel(name = "更新者")
    private String updUser;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updDate;

    public void setRiskLevelRuleId(String riskLevelRuleId) 
    {
        this.riskLevelRuleId = riskLevelRuleId;
    }

    public String getRiskLevelRuleId() 
    {
        return riskLevelRuleId;
    }
    public void setRiskLevelRuleName(String riskLevelRuleName) 
    {
        this.riskLevelRuleName = riskLevelRuleName;
    }

    public String getRiskLevelRuleName() 
    {
        return riskLevelRuleName;
    }
    public void setRiskType(String riskType) 
    {
        this.riskType = riskType;
    }

    public String getRiskType() 
    {
        return riskType;
    }
    public void setRiskLevel(String riskLevel) 
    {
        this.riskLevel = riskLevel;
    }

    public String getRiskLevel() 
    {
        return riskLevel;
    }
    public void setRiskName(String riskName) 
    {
        this.riskName = riskName;
    }

    public String getRiskName() 
    {
        return riskName;
    }
    public void setRuleNo(Long ruleNo) 
    {
        this.ruleNo = ruleNo;
    }

    public Long getRuleNo() 
    {
        return ruleNo;
    }
    public void setRuleRelation(String ruleRelation) 
    {
        this.ruleRelation = ruleRelation;
    }

    public String getRuleRelation() 
    {
        return ruleRelation;
    }
    public void setRuleDescription(String ruleDescription) 
    {
        this.ruleDescription = ruleDescription;
    }

    public String getRuleDescription() 
    {
        return ruleDescription;
    }
    public void setWeatherType(String weatherType) 
    {
        this.weatherType = weatherType;
    }

    public String getWeatherType() 
    {
        return weatherType;
    }
    public void setEventTime(Long eventTime) 
    {
        this.eventTime = eventTime;
    }

    public Long getEventTime() 
    {
        return eventTime;
    }
    public void setMinValue(String minValue) 
    {
        this.minValue = minValue;
    }

    public String getMinValue() 
    {
        return minValue;
    }
    public void setContainsMinValue(String containsMinValue) 
    {
        this.containsMinValue = containsMinValue;
    }

    public String getContainsMinValue() 
    {
        return containsMinValue;
    }
    public void setMaxValue(String maxValue) 
    {
        this.maxValue = maxValue;
    }

    public String getMaxValue() 
    {
        return maxValue;
    }
    public void setContainsMaxValue(String containsMaxValue) 
    {
        this.containsMaxValue = containsMaxValue;
    }

    public String getContainsMaxValue() 
    {
        return containsMaxValue;
    }
    public void setDelFlg(String delFlg) 
    {
        this.delFlg = delFlg;
    }

    public String getDelFlg() 
    {
        return delFlg;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setUpdUser(String updUser) 
    {
        this.updUser = updUser;
    }

    public String getUpdUser() 
    {
        return updUser;
    }
    public void setUpdDate(Date updDate) 
    {
        this.updDate = updDate;
    }

    public Date getUpdDate() 
    {
        return updDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("riskLevelRuleId", getRiskLevelRuleId())
            .append("riskLevelRuleName", getRiskLevelRuleName())
            .append("riskType", getRiskType())
            .append("riskLevel", getRiskLevel())
            .append("riskName", getRiskName())
            .append("ruleNo", getRuleNo())
            .append("ruleRelation", getRuleRelation())
            .append("ruleDescription", getRuleDescription())
            .append("weatherType", getWeatherType())
            .append("eventTime", getEventTime())
            .append("minValue", getMinValue())
            .append("containsMinValue", getContainsMinValue())
            .append("maxValue", getMaxValue())
            .append("containsMaxValue", getContainsMaxValue())
            .append("delFlg", getDelFlg())
            .append("remarks", getRemarks())
            .append("updUser", getUpdUser())
            .append("updDate", getUpdDate())
            .toString();
    }
}
